package com.hibuy.pc.common;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by admin on 2017/12/22.
 * 公共实体类
 */
@Component
@ConfigurationProperties(prefix = "commonModel")
public class CommonModel {
    //默认值
    private static final String KEY = "dyg123";

    private String key = KEY;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
